# _*_ coding: UTF-8 _*_
# @Time     : 2021/1/13 上午 10:29
# @Author   : Li Jie
# @Site     : http://www.hzdledu.com/
# @File     : variable.py
# @Software : PyCharm

# 定义变量
a = 10

# 错误的变量定义

# if = 1
# print = 5
# print(print)

# 变量的重新赋值
a = 10
print(type(a))
a = '汇智动力'
print(type(a))

# 变量深入
a = 10
print(id(a))
a = 100
print(id(a))

# 变量赋值给变量
a = 10
b = a
print(id(a))
print(id(a))

#练习
a = 10
b = a
a = 100
